package com.sskj.trafficcontrol.dao;

import com.sskj.trafficcontrol.model.pojo.TcUserSign;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;

import java.util.Date;

@Mapper
@Repository
public interface UserSignDao {

    void addUserSign(@Param("tcOpenid") String tcOpenid, @Param("dateZero") String dateZero);

    TcUserSign getUserSign(@Param("openid") String openid);

    void updateSignDate(@Param("tcOpenid") String tcOpenid, @Param("dateZero") String dateZero);
}
